<?php

declare(strict_types=1);

namespace App\Entity;

use App\Models\AdvertImage;

/**
 * Class AdvertImageEntity
 */
class AdvertImageEntity extends ABaseEntity
{
    public function __construct(AdvertImage $model)
    {
        $this->model = $model;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->model->id;
    }

    /**
     * @return int
     */
    public function getAdvertId()
    {
        return $this->model->advert_id;
    }

    /**
     * @return string
     */
    public function getAdvertTitle()
    {
        return $this->model->advert_title;
    }

    /**
     * @return string
     */
    public function getAdvertUrl()
    {
        return $this->model->advert_url;
    }

    /**
     * @return string
     */
    public function getStatus()
    {
        return $this->model->advert_url;
    }

    public function getImage()
    {
        return $this->model->image;
    }

    /**
     * @return string
     */
    public function getCreatedAt()
    {
        return $this->model->created_at;
    }

    /**
     * @return string
     */
    public function getUpdatedAt()
    {
        return $this->model->updated_at;
    }

    public function getAdvertStatus()
    {
        return $this->model->advert_status;
    }

    public function getAdvertSort()
    {
        return $this->model->advert_sort;
    }

    public function getUpperLowerStatus()
    {
        return $this->model->upper_lower_status;
    }

    public function getUpperTime()
    {
        return $this->model->upper_time;
    }

    public function getLowerTime()
    {
        return $this->model->lower_time;
    }

    public function getAdvertUrlType()
    {
        return $this->model->advert_url_type;
    }
}
